package com.example.demo2.mapper;

import com.example.demo2.pojo.data.SupplierDO;
import com.example.demo2.pojo.vo.SupplierVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by weidong on 2020/02/16
 */
@Repository
public interface SupplierMapper {
    Integer add(SupplierVO supplierVO);

    Integer updateById(SupplierVO supplierVO);

    SupplierDO findById(Integer id);

    List<SupplierDO> list(SupplierVO supplierVO);

    List<SupplierDO> listPage(SupplierVO supplierVO);

    Integer count(SupplierVO supplierVO);

    Integer deleteById(Integer id);

}